import unittest
from src.sup_function import get_test_data_path, normalize_text


class FileTest(unittest.TestCase):

    def test_normalize_text(self):
        text = normalize_text('a ' + 'b' * 79)
        self.assertEquals(text.count('\n'), 1)


if __name__ == '__main__':
    unittest.main()